<?php /* Smarty version 2.6.14, created on 2015-01-13 18:04:47
         compiled from operation_log.index.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="<?php echo $this->_tpl_vars['formAction']; ?>
" method="POST" <?php if ($this->_tpl_vars['is_validator']): ?> id="adminform" onsubmit="return Validator.Validate(this)" <?php endif; ?>>
<table width="100%" border="0" class="adminlist" cellspacing="0">
  <thead>
  <tr>
 	
	<th><?php echo $this->_tpl_vars['systemLang']['id']; ?>
</th>
	<th><?php echo $this->_tpl_vars['systemLang']['type']; ?>
</th>
	<th><?php echo $this->_tpl_vars['systemLang']['content']; ?>
</th>
    <th><?php echo $this->_tpl_vars['systemLang']['user']; ?>
</th>
     <th><?php echo $this->_tpl_vars['systemLang']['add_date']; ?>
</th>

  </tr>
  </thead>
  <tbody>
  <?php $_from = $this->_tpl_vars['app']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['a'] => $this->_tpl_vars['channel']):
?>
  <tr class="row0">
     <td><?php echo $this->_tpl_vars['channel']['operation_id']; ?>
&nbsp;</td>
    <td>
    <?php if ($this->_tpl_vars['channel']['operation_type'] == 1): ?>插入 <?php elseif ($this->_tpl_vars['channel']['operation_type'] == 2): ?>修改<?php elseif ($this->_tpl_vars['channel']['operation_type'] == 3): ?>删除  <?php else: ?> 发布<?php endif; ?>
    &nbsp;</td>
    <td width=80%><?php echo $this->_tpl_vars['channel']['operation_content']; ?>
</td>
    <td><?php echo $this->_tpl_vars['channel']['operation_user']; ?>
</td>
	<td><?php echo $this->_tpl_vars['channel']['operation_add_date']; ?>
</td>
  </tr>
  <?php endforeach; endif; unset($_from); ?>
  </tbody>
  <tfoot>
  <tr>

	<td colspan="4"><?php echo $this->_tpl_vars['page']; ?>
</td>
  </tr>
  </tfoot>
</table>
</form>
<script>
function getSelectedValue(name){
var obj=document.getElementById(name);
return obj.value;      //直接用其对象的value属性便可获取到
}
function abc(url,a,c){
	ab=getSelectedValue(a);
	//bc=getSelectedValue(b);
	ca=getSelectedValue(c);
	window.location=url+'/'+ab+'/'+ca;
}
</script>